<?php
$configs = array(
    'TAGLIB_BUILD_IN'           => THINKCMF_CORE_TAGLIBS . ',Portal\Lib\Taglib\Portal',
    'HTML_CACHE_ON'             => true,   // 开启静态缓存
    'HTML_CACHE_TIME'           => 1800, // 全局静态缓存有效期（秒）
    'HTML_FILE_SUFFIX'          => '.html', // 设置静态缓存文件后缀
    'HTML_CACHE_RULES'          => array(
        // 定义静态缓存规则
        // 定义格式1 数组方式
        'index:index'                   => array('index/index/{p}', 1800),
        'index:moduleindex'             => array('index/moduleindex', 1800),
        'blueprint:index'               => array('blueprint/index', 1800),
        'blueprint:info'                => array('blueprint/info/{id}', 1800),
        'index:about_us'                => array('index/about_us', 24 * 3600),
        'index:join_us'                 => array('index/join_us', 24 * 3600),
    ),
);

return array_merge($configs);
